package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SearchRecentStockDaoInter;
import com.mpyy.pojo.PurchaseStockDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SearchRecentStockServiceImpl
 * @Author CG
 * @date 2022-03-29
 */
@Service(value = "searchRecentStockServiceImpl")
public class SearchRecentStockServiceImpl implements SearchRecentStockServiceInter {
    @Autowired
    private SearchRecentStockDaoInter recentStockDaoInter;
    @Override
    public List<PurchaseStockDesc> searchRecentStock() {

        return recentStockDaoInter.searchRecentStock();
    }
}
